MediaSetClip
TheMediaSetClip
function allows your derived media handler to learn about changes to its clipping region.
pascal ComponentResult MediaSetClip (ComponentInstance ci, RgnHandle theClip);
ci
- Identifies the Movie Toolbox's connection to your derived media handler.
theClip
- Contains a handle to your media's clipping region. Your media handler is responsible for disposing of this region when you are done with it. Note that this region lies in the movie's coordinate system.
DESCRIPTION
The Movie Toolbox calls your derived media handler'sMediaSetClip
function whenever the track's clipping region changes. The toolbox provides you with a handle to a clipping region that supersedes any other clipping region you may be using.Your derived media handler should support this function if you draw during playback.
The Movie Toolbox calls this function only if you have set the
handlerHasSpatial
andhandlerCanClip
flags to 1 in theflags
parameter of theMediaSetHandlerCapabilities
function (described on page 10-36).RESULT CODES
Any Component Manager result code
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help